package com.ofo.global;

import java.util.concurrent.ConcurrentHashMap;

import com.ofo.model.Marks;

public class CacheSelectData {
	private static ConcurrentHashMap<Integer, Marks> bikeCache = new ConcurrentHashMap<Integer, Marks>();

	public static Marks getBikeCache(Integer key) {
		return bikeCache.get(key);
	}

	public static void addtBikeCache(Integer key, Marks bike) {
		CacheSelectData.bikeCache.put(key, bike);
	}

	public static void removeBikeCache(Integer key) {
		CacheSelectData.bikeCache.remove(key);
	}

}
